{% extends "base.html" %}

{% block title %}OVIM - SETUP{% endblock %}

{% block head %}
<script type="text/javascript">var DHTML_SUITE_THEME = 'zune';</script>
<script type="text/javascript" src="/ovim/media/js/ajax.js"></script>
<script type="text/javascript" src="/ovim/media/js/dhtml-suite-for-applications.js"></script>
{% endblock %}

{% block menu %}
<li><a href="/ovim/">Manage VM</a></li>
<li><a href="/ovim/listjp/">Manage JobPool</a></li>
<li><a href="/ovim/monitjb/">Job Monitor</a></li>
<li><a href="/ovim/logview/">Log</a></li>
{% endblock %}

{% block navbar %}
<a class="navbar" href="/ovim/setup/"> >> OVIM Setup</a>
{% endblock %}

{% block action %}
<div class="action">
	<h3>ACTIONS</h3>
	<div id="actionmenu">
		<ul>
			<li>
				<a href="#" title="Create a new storage place" 
				onclick="">
					<img src="/ovim/media/img/list-add.png"/>
					New Storage
				</a>
			</li>	
		</ul>
	</div>
</div>
{% endblock %}

{% block content %}
<div class="ovim_content">
	<div class="ovim_content_box">
		<img src="/ovim/media/img/bigimage.gif" class="image" />
		<p class="ovim_content_box_comment">
			<form method="post">
				<table>
					{{ form }}
				</table>
				<center><input type="submit" /></center>
			</form>
		</p>
	</div>
</div>

<script type="text/javascript">
messageObj = new DHTMLSuite.modalMessage();
messageObj.setWaitMessage('Loading message - please wait....');
messageObj.setShadowOffset(5);

DHTMLSuite.commonObj.setCssCacheStatus(false);

function displayMessage(url)
{	
	messageObj.setSource(url);
	messageObj.setCssClassMessageBox(false);
	messageObj.setSize(400,200);
	messageObj.setShadowDivVisible(true);
	messageObj.display();
}

function closeMessage()
{
	messageObj.close();	
}
</script>
{% endblock %}